package com.zfj.gulimall.ware.feign;

import com.zfj.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author zfj
 * @date 2022/5/31 -21:41
 */
@FeignClient("gulimall-product")
public interface ProductFeignService {
	/**
	 *  /product/skuinfo/info/{skuId}直接指定服务
	 *  /api/product/skuinfo/info/{skuId}  网关过请求
	 * @param skuId
	 * @return
	 */
	@RequestMapping("/product/skuinfo/info/{skuId}")
	public R info(@PathVariable("skuId") Long skuId);
}
